import sys
[inputFile, outputFile] = sys.argv[1:3]
fin = open(inputFile, 'r', encoding="latin-1")
fout = open(outputFile, 'w')
line = fin.readline()
while line:
    fout.write(line.replace(',', '.'))
    line = fin.readline()

fin.close()
fout.close()
